package day01;

public class demo3 {
    public static void main(String[] args) {
      int year=2024;
      if(year%4==0 &&(year&100)!=0){
          System.out.println("这一年是闰年");
      }else if(year%400==0){
          System.out.println("这一年是闰年");
      }else{
          System.out.println("这一年是平年");
      }
    }


}
